/**
 * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 **/

.orders-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.order-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.2s;
  cursor: pointer;
}

.order-card:hover {
  transform: translateY(-2px);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.order-id {
  color: #666;
}

.order-status {
  font-weight: bold;
  color: #28a745;
}

.order-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-items-preview {
  display: flex;
  gap: 0.5rem;
}

.order-items-preview img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.more-items {
  width: 60px;
  height: 60px;
  background: #f8f9fa;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.order-total {
  font-size: 1.2rem;
  font-weight: bold;
}